package com.sxau.software_educational_system_backend.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName admin
 */
@TableName(value ="admin")
@Data
public class Admin {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String password;

    /**
     * 0指权限禁用，1为普通管理员，2为超级管理员
     */
    private Integer role;

    /**
     * 
     */
    private String phone;

    /**
     * 
     */
    private LocalDateTime createTime;

    /**
     * 
     */
    private LocalDateTime updateTime;

    /**
     * 
     */
    private String email;

    /**
     * 0是未删除，1是已删除
     */
    private Integer isDelete;

}